import Ax from './api';

export default {
  genParamAdd: (param = {}) => Ax.put(`/generalParam/add`, param),
  genParamEdit: (param = {}) => Ax.put(`/generalParam/edit`, param),
  genParamDelete: (query = {}) => Ax.delete(`/generalParam/delete?_id=${query._id}`),
  genParamList: (param = {}) => Ax.post(`/generalParam/list`, param),
  genParamAll: (param = {}) => Ax.post(`/generalParam/all`, param),
  genParamDetail: (query = {}) => Ax.get(`/generalParam/detail?_id=${query._id}`),
};
